]> dgit.raspbian.org Git - gnome-shell.git/commit
status/keyboard: Ignore purpose hint changes while keymap switcher is shown
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 11 Nov 2022 12:13:41 +0000 (13:13 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 5 Dec 2022 14:50:33 +0000 (14:50 +0000)
commit2e8e1fe8fcd5af37dff7efccc17269366a2001b2
tree215c9e98a6bd3e7106e5b284fad703c153a9e805
parentd918290ac899527029069b65206c488cf92eff54
status/keyboard: Ignore purpose hint changes while keymap switcher is shown

If we are getting purpose hint changes while the language switcher is popped
up, this likely means the purpose hint was actually triggered by the key
focus change induced by the language switcher popping up.

In this case, we on one hand would like to preserve the state that applied
before thise focus change, and on the other we very much want to avoid the
keymap change that would forget about the keys being pressed.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6066
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2534>
js/ui/status/keyboard.js